//
//  MessageModel.m
//  聊天界面
//
//  Created by 周述坚 on 16/11/12.
//  Copyright © 2016年 周述坚. All rights reserved.
//

#import "JPMessageModel.h"

@implementation JPMessageModel

- (instancetype)initWithDic:(NSDictionary*)dic {
    if (self =[super init]) {
        [self setValuesForKeysWithDictionary:dic];
    }
    return self;
}

+ (instancetype)messageModelWithDic:(NSDictionary*)dic {
    return [[self alloc] initWithDic:dic];
}


@end
